home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / HippoDraw / hippo / make.aix6000 < prev    next >
Encoding:
Text File  |  1992-04-30  |  747 b   |  40 lines

  1. #
  2. # define macros which work on RS/6000
  3.  
  4. LIB_LIST = hippoX11 
  5. DEBUGLIB_LIST = hippoX11.debug
  6. UTIL_LIB=hippoX11
  7.  
  8. # directory in which libraries are built (define it here different
  9. #  architecture means different directory)
  10. #LIB_DIR = /u/eb/rensing/lib/aix6000
  11.  
  12. _CFLAGS = -Daix6000
  13. CFLAGS = -O $(_CFLAGS)
  14. CFLAGS_DEB = -g -DDEBUG $(_CFLAGS)
  15. CFLAGS_PROF = -pg -DPROFILE $(_CFLAGS)
  16. LDFLAGS = -L$(LIB_DIR) -l$(UTIL_LIB) -lm
  17. FFLAGS = -qextname
  18.  
  19. # LIBS for making hb2hippo...
  20. # hippo is picked up from LDFLAGS
  21. HB2HADD = -lpacklib
  22.  
  23. MAKECOM = $(MAKE) -$(MAKEFLAGS)
  24.  
  25.  
  26. # missing standard macros
  27. RANLIB = ranlib
  28. AR = ar
  29. ARFLAGS = r
  30. RM = rm
  31. RMFLAGS = -f
  32. CP = cp
  33. MV = mv
  34.  
  35. .cc.a :
  36.     $(CPLUSPLUS) $(CFLAGS) -c -o $% $<
  37.     $(AR) $(ARFLAGS) $@ $%
  38.     $(RM) $(RMFLAGS) $%
  39.  
  40.